package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class AdminDaoEcologyPointsWalletVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "dao id")
    private Long daoId;

    @ApiModelProperty(value = "dao名称")
    private String daoName;

    @ApiModelProperty(value = "积分数量")
    private String amount;


    public void setAmount(BigDecimal amount) {
        this.amount = amount.setScale(2,BigDecimal.ROUND_DOWN).toPlainString();
    }

}
